<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>main.c</title>
<link href="tabs.css" rel="stylesheet" type="text/css" />
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="alias.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="alias.js"></script>

<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>


<script type="text/javascript">
  jQuery(document).ready(function () {
    if(gref){ // Number all _img and _table classes
      gref();
    }
  });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->

<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">nRF51822 BLE SDK
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('group__ble__sdk__app__hids__mouse__main.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Defines</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">main.c</div>  </div>
<div class="ingroups"><a class="el" href="group__ble__sdk__app__hids__mouse.html">HID Mouse Application</a></div></div>
<div class="contents">

<p>HID Mouse Sample Application main file.  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga18f0a464922f55c4aa363355339c826b">LEFT_BUTTON_PIN_NO</a>&#160;&#160;&#160;NRF6310_BUTTON_0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga486b52e642e9037f8cf45e42d55cd4d3">RIGHT_BUTTON_PIN_NO</a>&#160;&#160;&#160;NRF6310_BUTTON_1</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#gac7f995031d04c977e9a0feecd0a93a01">UP_BUTTON_PIN_NO</a>&#160;&#160;&#160;NRF6310_BUTTON_2</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga413770639a3b71b19ed878b25e0aacd0">DOWN_BUTTON_PIN_NO</a>&#160;&#160;&#160;NRF6310_BUTTON_3</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga5f5a2c9450ebc584b4fe743c6b1a280b">DEVICE_NAME</a>&#160;&#160;&#160;&quot;NORDIC_MOUSE_0.1&quot;</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#gaaa2b8f5b105c3019df0cb346f472e803">MANUFACTURER_NAME</a>&#160;&#160;&#160;&quot;NordicSemiconductor&quot;</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#gaf28f0232a3fdc0eb03b94eb34b25cde8">BATTERY_LEVEL_MEAS_INTERVAL</a>&#160;&#160;&#160;2000</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga59eb06cba38be11278ebd2829e95bc26">MIN_BATTERY_LEVEL</a>&#160;&#160;&#160;81</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga16896fb7a69ca90a4a4e341d5a888002">MAX_BATTERY_LEVEL</a>&#160;&#160;&#160;100</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga69eef02165834e4dabc5757b82dddbf1">BATTERY_LEVEL_INCREMENT</a>&#160;&#160;&#160;1</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#gadcf82f097b1063d2184008f34044d6f8">PNP_ID_VENDOR_ID_SOURCE</a>&#160;&#160;&#160;0x02</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#gac294f76c25d54a7144acb2d839f05785">PNP_ID_VENDOR_ID</a>&#160;&#160;&#160;0x1915</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga136d0bff35b1ea2dcf2889f6f700971d">PNP_ID_PRODUCT_ID</a>&#160;&#160;&#160;0xEEEE</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga6778c118c0d9848c00ceeb23759aec6f">PNP_ID_PRODUCT_VERSION</a>&#160;&#160;&#160;0x0001</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#gadde0b932e57e128e4cd81c2dca47cfe3">APP_ADV_INTERVAL</a>&#160;&#160;&#160;64</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#gaf58371bad8e1be8e2323df60379ed2df">APP_ADV_TIMEOUT_IN_SECONDS</a>&#160;&#160;&#160;180</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga95196d5d0f40cf195a6001955d6d98cf">MIN_CONN_INTERVAL</a>&#160;&#160;&#160;6</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga7d868ed8adb7d475b463fd8855907a18">MAX_CONN_INTERVAL</a>&#160;&#160;&#160;12</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga0c921a874ac37870fc1516ce66cd228a">SLAVE_LATENCY</a>&#160;&#160;&#160;20</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga799412c2b531ca347e13611e6e7523b9">CONN_SUP_TIMEOUT</a>&#160;&#160;&#160;(3 * 100)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga9952b3ba417af1b9c1aa236ec5e6d1e8">FIRST_CONN_PARAM_UPDATE_DELAY</a>&#160;&#160;&#160;(5 * 1000)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#gafb9287e2b49bd5efdaf2073ad1e9f8e3">NEXT_CONN_PARAM_UPDATE_DELAY</a>&#160;&#160;&#160;(30 * 1000)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga549292ede080254fde7020245f268ed8">MAX_CONN_PARAM_UPDATE_COUNT</a>&#160;&#160;&#160;3</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga7c1fffb0f865552108560d4c63b32db1">SEC_PARAM_TIMEOUT</a>&#160;&#160;&#160;60</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#gacbf03a82593c273743a5a80a1119b851">SEC_PARAM_BOND</a>&#160;&#160;&#160;1</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#gab6831ebe113f8afe970326b7742b5947">SEC_PARAM_MITM</a>&#160;&#160;&#160;0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga42df85b3a4083cdc614d9111d580d98f">SEC_PARAM_IO_CAPABILITIES</a>&#160;&#160;&#160;BLE_GAP_IO_CAPS_NONE</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#gaee13a0d0077f423fa0edd74e17fb6b88">SEC_PARAM_OOB</a>&#160;&#160;&#160;0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga6b7b2e2f67fbf790f55b46f8f5e24ad5">SEC_PARAM_MIN_KEY_SIZE</a>&#160;&#160;&#160;7</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#gaf2cd1595de153ea1d6d843619a1a7707">SEC_PARAM_MAX_KEY_SIZE</a>&#160;&#160;&#160;16</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga8abf91f285c510ce8f0e664198252f42">MOVEMENT_SPEED</a>&#160;&#160;&#160;5</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga80ad1cf793ed540c1e7654bc791e970b">INPUT_REPORT_COUNT</a>&#160;&#160;&#160;3</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga91d582a48340c2735ea67349b8125772">INPUT_REP_BUTTONS_LEN</a>&#160;&#160;&#160;3</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga63ab6b5d3226b98bf5ab9976884787bf">INPUT_REP_MOVEMENT_LEN</a>&#160;&#160;&#160;3</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga674e8bccaa8e6e279022338b3a07ca77">INPUT_REP_MEDIA_PLAYER_LEN</a>&#160;&#160;&#160;1</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#gaac6739906efb31d778b6f033d9c86cb7">INPUT_REP_BUTTONS_INDEX</a>&#160;&#160;&#160;0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga3e9a1505436db2abe4a32f39cbd9bc24">INPUT_REP_MOVEMENT_INDEX</a>&#160;&#160;&#160;1</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#gaa68549c4bc68356de4c35ff3f1ecda64">INPUT_REP_MPLAYER_INDEX</a>&#160;&#160;&#160;2</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga71c7215668ec384589a0f46f63eaf4e8">INPUT_REP_REF_BUTTONS_ID</a>&#160;&#160;&#160;1</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#gabdf90743eb83c79bc8ea68be3622ffd3">INPUT_REP_REF_MOVEMENT_ID</a>&#160;&#160;&#160;2</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga5aafc646da1e1dcde448233056821bcf">INPUT_REP_REF_MPLAYER_ID</a>&#160;&#160;&#160;3</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga86d9879e1f1e698d670d31c933e5fe95">BASE_USB_HID_SPEC_VERSION</a>&#160;&#160;&#160;0x0101</td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#gaacd557e6bc45d33880a272b051f7684e">on_hids_evt</a> (<a class="el" href="group__ble__sdk__srv__hids.html#ga7038aff3f095043b34e0a1403dd4ebcc">ble_hids_t</a> *p_hids, <a class="el" href="structble__hids__evt__t.html">ble_hids_evt_t</a> *p_evt)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">HID event handler.  <a href="#gaacd557e6bc45d33880a272b051f7684e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#gadec561788a76b8a63ad9663625a25d78">assert_nrf_callback</a> (uint16_t line_num, const uint8_t *file_name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Assert macro callback function.  <a href="#gadec561788a76b8a63ad9663625a25d78"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga54ab546c90d69e5fc9cfee653024ea53">service_error_handler</a> (uint32_t nrf_error)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Service error handler.  <a href="#ga54ab546c90d69e5fc9cfee653024ea53"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gab155022684d4acfd98218c3799822e74"></a><!-- doxytag: member="ble_sdk_app_hids_mouse_main::battery_level_update" ref="gab155022684d4acfd98218c3799822e74" args="(void)" -->
static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#gab155022684d4acfd98218c3799822e74">battery_level_update</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Perform battery measurement, and update Battery Level characteristic in Battery Service. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga7e5b3d2cf024dde83b8c536b22a1c155">battery_level_meas_timeout_handler</a> (app_timer_id_t timer_id)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Battery measurement timer timeout handler.  <a href="#ga7e5b3d2cf024dde83b8c536b22a1c155"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga0892e076b365fc49b55bd0f90ab09222">leds_init</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">LEDs initialization.  <a href="#ga0892e076b365fc49b55bd0f90ab09222"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga09658aaa0774820d8f25249d551bc283">timers_init</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Timer initialization.  <a href="#ga09658aaa0774820d8f25249d551bc283"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga1004973353f351806e42896c491a5ab2">gap_params_init</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">GAP initialization.  <a href="#ga1004973353f351806e42896c491a5ab2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga935c9624de0709fe228dbefa4b54de48">advertising_init</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Advertising functionality initialization.  <a href="#ga935c9624de0709fe228dbefa4b54de48"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga2d0743f12929b17b64c5c2fb101a9350"></a><!-- doxytag: member="ble_sdk_app_hids_mouse_main::dis_init" ref="ga2d0743f12929b17b64c5c2fb101a9350" args="(void)" -->
static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga2d0743f12929b17b64c5c2fb101a9350">dis_init</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize Device Information Service. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga46507354f43dd16b32281f032e29d9c5"></a><!-- doxytag: member="ble_sdk_app_hids_mouse_main::bas_init" ref="ga46507354f43dd16b32281f032e29d9c5" args="(void)" -->
static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga46507354f43dd16b32281f032e29d9c5">bas_init</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize Battery Service. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga1469fa1057d51643d5b64abadf23e135"></a><!-- doxytag: member="ble_sdk_app_hids_mouse_main::hids_init" ref="ga1469fa1057d51643d5b64abadf23e135" args="(void)" -->
static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga1469fa1057d51643d5b64abadf23e135">hids_init</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize HID Service. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga5b27b40e18af00d43b92f57eaed0e9b2"></a><!-- doxytag: member="ble_sdk_app_hids_mouse_main::services_init" ref="ga5b27b40e18af00d43b92f57eaed0e9b2" args="(void)" -->
static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga5b27b40e18af00d43b92f57eaed0e9b2">services_init</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize services that will be used by the application. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga6f75e3fe8d4ed6400f9429987dee0f3e"></a><!-- doxytag: member="ble_sdk_app_hids_mouse_main::sensor_sim_init" ref="ga6f75e3fe8d4ed6400f9429987dee0f3e" args="(void)" -->
static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga6f75e3fe8d4ed6400f9429987dee0f3e">sensor_sim_init</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize the battery sensor simulator. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga9f11118fb9ce22ad1afe20af6f89b131"></a><!-- doxytag: member="ble_sdk_app_hids_mouse_main::sec_params_init" ref="ga9f11118fb9ce22ad1afe20af6f89b131" args="(void)" -->
static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga9f11118fb9ce22ad1afe20af6f89b131">sec_params_init</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize security parameters. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga4538ed130db3bf7fc68b76a4d9e032fa">conn_params_error_handler</a> (uint32_t nrf_error)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Connection Parameters module error handler.  <a href="#ga4538ed130db3bf7fc68b76a4d9e032fa"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaf61b6c1c47f5c96b169ff81c345d7849"></a><!-- doxytag: member="ble_sdk_app_hids_mouse_main::conn_params_init" ref="gaf61b6c1c47f5c96b169ff81c345d7849" args="(void)" -->
static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#gaf61b6c1c47f5c96b169ff81c345d7849">conn_params_init</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize the Connection Parameters module. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gab7e1400dcd1b0f9470d20af86077ba74"></a><!-- doxytag: member="ble_sdk_app_hids_mouse_main::timers_start" ref="gab7e1400dcd1b0f9470d20af86077ba74" args="(void)" -->
static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#gab7e1400dcd1b0f9470d20af86077ba74">timers_start</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Start timers. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gadf80cd84ee702e57a2a416fe4f653eb8"></a><!-- doxytag: member="ble_sdk_app_hids_mouse_main::advertising_start" ref="gadf80cd84ee702e57a2a416fe4f653eb8" args="(void)" -->
static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#gadf80cd84ee702e57a2a416fe4f653eb8">advertising_start</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Start advertising. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#gad083cb3569230d7ecbf2d01ef2a2c1d9">on_ble_evt</a> (<a class="el" href="structble__evt__t.html">ble_evt_t</a> *p_ble_evt)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Application's BLE Stack event handler.  <a href="#gad083cb3569230d7ecbf2d01ef2a2c1d9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#gaa1927dfd1c321164f2f34ae9ad95a77d">ble_evt_dispatch</a> (app_sched_event_data_t *p_ev_data)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Dispatches a BLE stack event to all modules with a BLE stack event handler.  <a href="#gaa1927dfd1c321164f2f34ae9ad95a77d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#gacf1716b2e00b3456f0733e8101ed9e0d">ble_evt_schedule</a> (<a class="el" href="structble__evt__t.html">ble_evt_t</a> *p_ble_evt)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Pass bluetooth stack event to scheduler.  <a href="#gacf1716b2e00b3456f0733e8101ed9e0d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#gaa06a7a39e83ec4cf3553f4ed6ba6323a">ble_stack_init</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">BLE stack initialization.  <a href="#gaa06a7a39e83ec4cf3553f4ed6ba6323a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga1b3a805592966451c4dff7cee63c6378">mouse_movement_send</a> (int16_t x_delta, int16_t y_delta)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Function to send Mouse Movement.  <a href="#ga1b3a805592966451c4dff7cee63c6378"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#gaa3977e6f27ec95f12d2f060ef920a29d">mouse_event_handler</a> (app_sched_event_data_t *p_ev_data)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Mouse event handler.  <a href="#gaa3977e6f27ec95f12d2f060ef920a29d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga6d0508a032b45031ee39fc3155944d7e">mouse_event_schedule</a> (int16_t x_delta, int16_t y_delta)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Passes a mouse event to the Scheduler.  <a href="#ga6d0508a032b45031ee39fc3155944d7e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga26b108e2296d5514a2391960b4231d71"></a><!-- doxytag: member="ble_sdk_app_hids_mouse_main::GPIOTE_IRQHandler" ref="ga26b108e2296d5514a2391960b4231d71" args="(void)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga26b108e2296d5514a2391960b4231d71">GPIOTE_IRQHandler</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIOTE interrupt handler. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga265c25c068555fbfae4ab4f391060040"></a><!-- doxytag: member="ble_sdk_app_hids_mouse_main::buttons_init" ref="ga265c25c068555fbfae4ab4f391060040" args="(void)" -->
static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga265c25c068555fbfae4ab4f391060040">buttons_init</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize GPIOTE module for detecting buttons. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga3adda2642702fdb99b08992c39494000"></a><!-- doxytag: member="ble_sdk_app_hids_mouse_main::power_manage" ref="ga3adda2642702fdb99b08992c39494000" args="(void)" -->
static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga3adda2642702fdb99b08992c39494000">power_manage</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Power manager. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga840291bc02cba5474a4cb46a9b9566fe"></a><!-- doxytag: member="ble_sdk_app_hids_mouse_main::main" ref="ga840291bc02cba5474a4cb46a9b9566fe" args="(void)" -->
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga840291bc02cba5474a4cb46a9b9566fe">main</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Application main function. <br/></td></tr>
<tr><td colspan="2"><h2><a name="var-members"></a>
Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="group__ble__sdk__srv__hids.html#ga7038aff3f095043b34e0a1403dd4ebcc">ble_hids_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga39dca3cc11120abf5cbc751bb69d5df0">s_hids</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="group__ble__sdk__srv__bas.html#gaea81f98230816bcfcbfd6ccbb4db3999">ble_bas_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#gab22f840926bbada5a0ba32f2f7dc94b3">s_bas</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structble__gap__sec__params__t.html">ble_gap_sec_params_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga738ed84e141ba1059dd1318dc425343c">s_sec_params</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#gade286b62fde8822965f1e5740a2e9544">s_in_boot_mode</a> = false</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structble__sensorsim__cfg__t.html">ble_sensorsim_cfg_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#gaa752585d9b405d6e0c6fd392d7f64b59">s_battery_sim_cfg</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structble__sensorsim__state__t.html">ble_sensorsim_state_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ble__sdk__app__hids__mouse__main.html#gaa51f5fc284e1b7e1570ab742fa9b63f3">s_battery_sim_state</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<p>HID Mouse Sample Application main file. </p>
<p>This file contains is the source code for a sample application using the HID, Battery and Device Information Service for implementing a simple mouse functionality. This application uses the <a class="el" href="group__app__scheduler.html">Scheduler</a>.</p>
<p>Also it would accept pairing requests from any peer device. This implementation of the application will not know whether a connected master is a known device or not. </p>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="ga18f0a464922f55c4aa363355339c826b"></a><!-- doxytag: member="main.c::LEFT_BUTTON_PIN_NO" ref="ga18f0a464922f55c4aa363355339c826b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LEFT_BUTTON_PIN_NO&#160;&#160;&#160;NRF6310_BUTTON_0</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Button used for moving the mouse pointer to the left. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00051">51</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga486b52e642e9037f8cf45e42d55cd4d3"></a><!-- doxytag: member="main.c::RIGHT_BUTTON_PIN_NO" ref="ga486b52e642e9037f8cf45e42d55cd4d3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RIGHT_BUTTON_PIN_NO&#160;&#160;&#160;NRF6310_BUTTON_1</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Button used for moving the mouse pointer to the right. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00052">52</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="gac7f995031d04c977e9a0feecd0a93a01"></a><!-- doxytag: member="main.c::UP_BUTTON_PIN_NO" ref="gac7f995031d04c977e9a0feecd0a93a01" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define UP_BUTTON_PIN_NO&#160;&#160;&#160;NRF6310_BUTTON_2</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Button used for moving the mouse pointer upwards. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00053">53</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga413770639a3b71b19ed878b25e0aacd0"></a><!-- doxytag: member="main.c::DOWN_BUTTON_PIN_NO" ref="ga413770639a3b71b19ed878b25e0aacd0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DOWN_BUTTON_PIN_NO&#160;&#160;&#160;NRF6310_BUTTON_3</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Button used for moving the mouse pointer downwards. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00054">54</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga5f5a2c9450ebc584b4fe743c6b1a280b"></a><!-- doxytag: member="main.c::DEVICE_NAME" ref="ga5f5a2c9450ebc584b4fe743c6b1a280b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DEVICE_NAME&#160;&#160;&#160;&quot;NORDIC_MOUSE_0.1&quot;</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Name of device. Will be included in the advertising data. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00056">56</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="gaaa2b8f5b105c3019df0cb346f472e803"></a><!-- doxytag: member="main.c::MANUFACTURER_NAME" ref="gaaa2b8f5b105c3019df0cb346f472e803" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MANUFACTURER_NAME&#160;&#160;&#160;&quot;NordicSemiconductor&quot;</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Manufacturer. Will be passed to Device Information Service. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00057">57</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="gaf28f0232a3fdc0eb03b94eb34b25cde8"></a><!-- doxytag: member="main.c::BATTERY_LEVEL_MEAS_INTERVAL" ref="gaf28f0232a3fdc0eb03b94eb34b25cde8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BATTERY_LEVEL_MEAS_INTERVAL&#160;&#160;&#160;2000</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Battery level measurement interval (milliseconds). </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00059">59</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga59eb06cba38be11278ebd2829e95bc26"></a><!-- doxytag: member="main.c::MIN_BATTERY_LEVEL" ref="ga59eb06cba38be11278ebd2829e95bc26" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MIN_BATTERY_LEVEL&#160;&#160;&#160;81</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Minimum simulated battery level. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00060">60</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga16896fb7a69ca90a4a4e341d5a888002"></a><!-- doxytag: member="main.c::MAX_BATTERY_LEVEL" ref="ga16896fb7a69ca90a4a4e341d5a888002" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAX_BATTERY_LEVEL&#160;&#160;&#160;100</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Maximum simulated battery level. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00061">61</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga69eef02165834e4dabc5757b82dddbf1"></a><!-- doxytag: member="main.c::BATTERY_LEVEL_INCREMENT" ref="ga69eef02165834e4dabc5757b82dddbf1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BATTERY_LEVEL_INCREMENT&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Increment between each simulated battery level measurement. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00062">62</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="gadcf82f097b1063d2184008f34044d6f8"></a><!-- doxytag: member="main.c::PNP_ID_VENDOR_ID_SOURCE" ref="gadcf82f097b1063d2184008f34044d6f8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PNP_ID_VENDOR_ID_SOURCE&#160;&#160;&#160;0x02</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Vendor ID Source. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00064">64</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="gac294f76c25d54a7144acb2d839f05785"></a><!-- doxytag: member="main.c::PNP_ID_VENDOR_ID" ref="gac294f76c25d54a7144acb2d839f05785" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PNP_ID_VENDOR_ID&#160;&#160;&#160;0x1915</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Vendor ID. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00065">65</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga136d0bff35b1ea2dcf2889f6f700971d"></a><!-- doxytag: member="main.c::PNP_ID_PRODUCT_ID" ref="ga136d0bff35b1ea2dcf2889f6f700971d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PNP_ID_PRODUCT_ID&#160;&#160;&#160;0xEEEE</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Product ID. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00066">66</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga6778c118c0d9848c00ceeb23759aec6f"></a><!-- doxytag: member="main.c::PNP_ID_PRODUCT_VERSION" ref="ga6778c118c0d9848c00ceeb23759aec6f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PNP_ID_PRODUCT_VERSION&#160;&#160;&#160;0x0001</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Product Version. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00067">67</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="gadde0b932e57e128e4cd81c2dca47cfe3"></a><!-- doxytag: member="main.c::APP_ADV_INTERVAL" ref="gadde0b932e57e128e4cd81c2dca47cfe3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define APP_ADV_INTERVAL&#160;&#160;&#160;64</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The advertising interval (in units of 0.625 ms. This value corresponds to 40 ms). </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00069">69</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="gaf58371bad8e1be8e2323df60379ed2df"></a><!-- doxytag: member="main.c::APP_ADV_TIMEOUT_IN_SECONDS" ref="gaf58371bad8e1be8e2323df60379ed2df" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define APP_ADV_TIMEOUT_IN_SECONDS&#160;&#160;&#160;180</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The advertising timeout (in units of seconds). </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00070">70</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga95196d5d0f40cf195a6001955d6d98cf"></a><!-- doxytag: member="main.c::MIN_CONN_INTERVAL" ref="ga95196d5d0f40cf195a6001955d6d98cf" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MIN_CONN_INTERVAL&#160;&#160;&#160;6</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Minimum connection interval (7.5 ms). </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00072">72</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga7d868ed8adb7d475b463fd8855907a18"></a><!-- doxytag: member="main.c::MAX_CONN_INTERVAL" ref="ga7d868ed8adb7d475b463fd8855907a18" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAX_CONN_INTERVAL&#160;&#160;&#160;12</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Maximum connection interval (15 ms). </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00073">73</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga0c921a874ac37870fc1516ce66cd228a"></a><!-- doxytag: member="main.c::SLAVE_LATENCY" ref="ga0c921a874ac37870fc1516ce66cd228a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SLAVE_LATENCY&#160;&#160;&#160;20</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Slave latency. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00074">74</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga799412c2b531ca347e13611e6e7523b9"></a><!-- doxytag: member="main.c::CONN_SUP_TIMEOUT" ref="ga799412c2b531ca347e13611e6e7523b9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CONN_SUP_TIMEOUT&#160;&#160;&#160;(3 * 100)</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Connection supervisory timeout (3 seconds). </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00075">75</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga9952b3ba417af1b9c1aa236ec5e6d1e8"></a><!-- doxytag: member="main.c::FIRST_CONN_PARAM_UPDATE_DELAY" ref="ga9952b3ba417af1b9c1aa236ec5e6d1e8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define FIRST_CONN_PARAM_UPDATE_DELAY&#160;&#160;&#160;(5 * 1000)</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Time from initiating event (connect or start of notification) to first time ble_gap_conn_param_update is called (5 seconds). </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00076">76</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="gafb9287e2b49bd5efdaf2073ad1e9f8e3"></a><!-- doxytag: member="main.c::NEXT_CONN_PARAM_UPDATE_DELAY" ref="gafb9287e2b49bd5efdaf2073ad1e9f8e3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NEXT_CONN_PARAM_UPDATE_DELAY&#160;&#160;&#160;(30 * 1000)</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Time between each call to ble_gap_conn_param_update after the first (30 seconds). </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00077">77</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga549292ede080254fde7020245f268ed8"></a><!-- doxytag: member="main.c::MAX_CONN_PARAM_UPDATE_COUNT" ref="ga549292ede080254fde7020245f268ed8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAX_CONN_PARAM_UPDATE_COUNT&#160;&#160;&#160;3</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Number of attempts before giving up the connection parameter negotiation. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00078">78</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga7c1fffb0f865552108560d4c63b32db1"></a><!-- doxytag: member="main.c::SEC_PARAM_TIMEOUT" ref="ga7c1fffb0f865552108560d4c63b32db1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SEC_PARAM_TIMEOUT&#160;&#160;&#160;60</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Timeout for Pairing Request or Security Request (in seconds). </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00080">80</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="gacbf03a82593c273743a5a80a1119b851"></a><!-- doxytag: member="main.c::SEC_PARAM_BOND" ref="gacbf03a82593c273743a5a80a1119b851" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SEC_PARAM_BOND&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Perform bonding. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00081">81</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="gab6831ebe113f8afe970326b7742b5947"></a><!-- doxytag: member="main.c::SEC_PARAM_MITM" ref="gab6831ebe113f8afe970326b7742b5947" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SEC_PARAM_MITM&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Man In The Middle protection not required. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00082">82</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga42df85b3a4083cdc614d9111d580d98f"></a><!-- doxytag: member="main.c::SEC_PARAM_IO_CAPABILITIES" ref="ga42df85b3a4083cdc614d9111d580d98f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SEC_PARAM_IO_CAPABILITIES&#160;&#160;&#160;BLE_GAP_IO_CAPS_NONE</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>No I/O capabilities. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00083">83</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="gaee13a0d0077f423fa0edd74e17fb6b88"></a><!-- doxytag: member="main.c::SEC_PARAM_OOB" ref="gaee13a0d0077f423fa0edd74e17fb6b88" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SEC_PARAM_OOB&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Out Of Band data not available. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00084">84</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga6b7b2e2f67fbf790f55b46f8f5e24ad5"></a><!-- doxytag: member="main.c::SEC_PARAM_MIN_KEY_SIZE" ref="ga6b7b2e2f67fbf790f55b46f8f5e24ad5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SEC_PARAM_MIN_KEY_SIZE&#160;&#160;&#160;7</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Minimum encryption key size. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00085">85</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="gaf2cd1595de153ea1d6d843619a1a7707"></a><!-- doxytag: member="main.c::SEC_PARAM_MAX_KEY_SIZE" ref="gaf2cd1595de153ea1d6d843619a1a7707" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SEC_PARAM_MAX_KEY_SIZE&#160;&#160;&#160;16</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Maximum encryption key size. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00086">86</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga8abf91f285c510ce8f0e664198252f42"></a><!-- doxytag: member="main.c::MOVEMENT_SPEED" ref="ga8abf91f285c510ce8f0e664198252f42" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MOVEMENT_SPEED&#160;&#160;&#160;5</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Number of pixels by which the cursor is moved each time a button is pushed. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00088">88</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga80ad1cf793ed540c1e7654bc791e970b"></a><!-- doxytag: member="main.c::INPUT_REPORT_COUNT" ref="ga80ad1cf793ed540c1e7654bc791e970b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INPUT_REPORT_COUNT&#160;&#160;&#160;3</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Number of input reports in this application. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00089">89</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga91d582a48340c2735ea67349b8125772"></a><!-- doxytag: member="main.c::INPUT_REP_BUTTONS_LEN" ref="ga91d582a48340c2735ea67349b8125772" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INPUT_REP_BUTTONS_LEN&#160;&#160;&#160;3</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Length of Mouse Input Report containing button data. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00090">90</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga63ab6b5d3226b98bf5ab9976884787bf"></a><!-- doxytag: member="main.c::INPUT_REP_MOVEMENT_LEN" ref="ga63ab6b5d3226b98bf5ab9976884787bf" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INPUT_REP_MOVEMENT_LEN&#160;&#160;&#160;3</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Length of Mouse Input Report containing movement data. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00091">91</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga674e8bccaa8e6e279022338b3a07ca77"></a><!-- doxytag: member="main.c::INPUT_REP_MEDIA_PLAYER_LEN" ref="ga674e8bccaa8e6e279022338b3a07ca77" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INPUT_REP_MEDIA_PLAYER_LEN&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Length of Mouse Input Report containing media player data. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00092">92</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="gaac6739906efb31d778b6f033d9c86cb7"></a><!-- doxytag: member="main.c::INPUT_REP_BUTTONS_INDEX" ref="gaac6739906efb31d778b6f033d9c86cb7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INPUT_REP_BUTTONS_INDEX&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Index of Mouse Input Report containing button data. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00093">93</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga3e9a1505436db2abe4a32f39cbd9bc24"></a><!-- doxytag: member="main.c::INPUT_REP_MOVEMENT_INDEX" ref="ga3e9a1505436db2abe4a32f39cbd9bc24" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INPUT_REP_MOVEMENT_INDEX&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Index of Mouse Input Report containing movement data. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00094">94</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="gaa68549c4bc68356de4c35ff3f1ecda64"></a><!-- doxytag: member="main.c::INPUT_REP_MPLAYER_INDEX" ref="gaa68549c4bc68356de4c35ff3f1ecda64" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INPUT_REP_MPLAYER_INDEX&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Index of Mouse Input Report containing media player data. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00095">95</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga71c7215668ec384589a0f46f63eaf4e8"></a><!-- doxytag: member="main.c::INPUT_REP_REF_BUTTONS_ID" ref="ga71c7215668ec384589a0f46f63eaf4e8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INPUT_REP_REF_BUTTONS_ID&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Id of reference to Mouse Input Report containing button data. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00096">96</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="gabdf90743eb83c79bc8ea68be3622ffd3"></a><!-- doxytag: member="main.c::INPUT_REP_REF_MOVEMENT_ID" ref="gabdf90743eb83c79bc8ea68be3622ffd3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INPUT_REP_REF_MOVEMENT_ID&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Id of reference to Mouse Input Report containing movement data. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00097">97</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga5aafc646da1e1dcde448233056821bcf"></a><!-- doxytag: member="main.c::INPUT_REP_REF_MPLAYER_ID" ref="ga5aafc646da1e1dcde448233056821bcf" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INPUT_REP_REF_MPLAYER_ID&#160;&#160;&#160;3</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Id of reference to Mouse Input Report containing media player data. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00098">98</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga86d9879e1f1e698d670d31c933e5fe95"></a><!-- doxytag: member="main.c::BASE_USB_HID_SPEC_VERSION" ref="ga86d9879e1f1e698d670d31c933e5fe95" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BASE_USB_HID_SPEC_VERSION&#160;&#160;&#160;0x0101</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Version number of base USB HID Specification implemented by this application. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00100">100</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="gaacd557e6bc45d33880a272b051f7684e"></a><!-- doxytag: member="main.c::on_hids_evt" ref="gaacd557e6bc45d33880a272b051f7684e" args="(ble_hids_t *p_hids, ble_hids_evt_t *p_evt)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void on_hids_evt </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__ble__sdk__srv__hids.html#ga7038aff3f095043b34e0a1403dd4ebcc">ble_hids_t</a> *&#160;</td>
          <td class="paramname"><em>p_hids</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structble__hids__evt__t.html">ble_hids_evt_t</a> *&#160;</td>
          <td class="paramname"><em>p_evt</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>HID event handler. </p>
<p>This function will be called for all HID events which are passed to the application.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p_hids</td><td>HID service stucture. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p_evt</td><td>Event received from the HID service. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00641">641</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="gadec561788a76b8a63ad9663625a25d78"></a><!-- doxytag: member="main.c::assert_nrf_callback" ref="gadec561788a76b8a63ad9663625a25d78" args="(uint16_t line_num, const uint8_t *file_name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void assert_nrf_callback </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>line_num</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint8_t *&#160;</td>
          <td class="paramname"><em>file_name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Assert macro callback function. </p>
<p>This function will be called if the ASSERT macro fails.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">line_num</td><td>Line number of the failing ASSERT call. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">file_name</td><td>File name of the failing ASSERT call. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00121">121</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga54ab546c90d69e5fc9cfee653024ea53"></a><!-- doxytag: member="main.c::service_error_handler" ref="ga54ab546c90d69e5fc9cfee653024ea53" args="(uint32_t nrf_error)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void service_error_handler </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>nrf_error</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Service error handler. </p>
<p>A pointer to this function will be passed to each service which may need to inform the application about an error.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">nrf_error</td><td>Error code containing information about what went wrong. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00148">148</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga7e5b3d2cf024dde83b8c536b22a1c155"></a><!-- doxytag: member="main.c::battery_level_meas_timeout_handler" ref="ga7e5b3d2cf024dde83b8c536b22a1c155" args="(app_timer_id_t timer_id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void battery_level_meas_timeout_handler </td>
          <td>(</td>
          <td class="paramtype">app_timer_id_t&#160;</td>
          <td class="paramname"><em>timer_id</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Battery measurement timer timeout handler. </p>
<p>This function will be called each time the battery level measurement timer expires.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">timer_id</td><td>Id of timer that has expired. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00185">185</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga0892e076b365fc49b55bd0f90ab09222"></a><!-- doxytag: member="main.c::leds_init" ref="ga0892e076b365fc49b55bd0f90ab09222" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void leds_init </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>LEDs initialization. </p>
<p>Initializes all LEDs used by the application. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00196">196</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga09658aaa0774820d8f25249d551bc283"></a><!-- doxytag: member="main.c::timers_init" ref="ga09658aaa0774820d8f25249d551bc283" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void timers_init </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Timer initialization. </p>
<p>Initializes the timer module. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00208">208</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga1004973353f351806e42896c491a5ab2"></a><!-- doxytag: member="main.c::gap_params_init" ref="ga1004973353f351806e42896c491a5ab2" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void gap_params_init </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>GAP initialization. </p>
<p>This function shall be used to setup all the necessary GAP (Generic Access Profile) parameters of the device. It also sets the permissions and appearance. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00226">226</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga935c9624de0709fe228dbefa4b54de48"></a><!-- doxytag: member="main.c::advertising_init" ref="ga935c9624de0709fe228dbefa4b54de48" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void advertising_init </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Advertising functionality initialization. </p>
<p>Encodes the required advertising data and passes it to the stack. Also builds a structure to be passed to the stack when starting advertising. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00266">266</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga4538ed130db3bf7fc68b76a4d9e032fa"></a><!-- doxytag: member="main.c::conn_params_error_handler" ref="ga4538ed130db3bf7fc68b76a4d9e032fa" args="(uint32_t nrf_error)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void conn_params_error_handler </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>nrf_error</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Connection Parameters module error handler. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">nrf_error</td><td>Error code containing information about what went wrong. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00557">557</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="gad083cb3569230d7ecbf2d01ef2a2c1d9"></a><!-- doxytag: member="main.c::on_ble_evt" ref="gad083cb3569230d7ecbf2d01ef2a2c1d9" args="(ble_evt_t *p_ble_evt)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void on_ble_evt </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structble__evt__t.html">ble_evt_t</a> *&#160;</td>
          <td class="paramname"><em>p_ble_evt</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Application's BLE Stack event handler. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p_ble_evt</td><td>Bluetooth stack event. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00663">663</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="gaa1927dfd1c321164f2f34ae9ad95a77d"></a><!-- doxytag: member="main.c::ble_evt_dispatch" ref="gaa1927dfd1c321164f2f34ae9ad95a77d" args="(app_sched_event_data_t *p_ev_data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void ble_evt_dispatch </td>
          <td>(</td>
          <td class="paramtype">app_sched_event_data_t *&#160;</td>
          <td class="paramname"><em>p_ev_data</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Dispatches a BLE stack event to all modules with a BLE stack event handler. </p>
<p>This function is called from the scheduler in the main loop after a BLE stack event has been received.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p_ev_data</td><td>Scheduler event containing a bluetooth event. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00739">739</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="gacf1716b2e00b3456f0733e8101ed9e0d"></a><!-- doxytag: member="main.c::ble_evt_schedule" ref="gacf1716b2e00b3456f0733e8101ed9e0d" args="(ble_evt_t *p_ble_evt)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void ble_evt_schedule </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structble__evt__t.html">ble_evt_t</a> *&#160;</td>
          <td class="paramname"><em>p_ble_evt</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Pass bluetooth stack event to scheduler. </p>
<p>This function is called from the BLE Stack event interrupt handler after a BLE stack event has been received.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p_ble_evt</td><td>Bluetooth stack event. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00761">761</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="gaa06a7a39e83ec4cf3553f4ed6ba6323a"></a><!-- doxytag: member="main.c::ble_stack_init" ref="gaa06a7a39e83ec4cf3553f4ed6ba6323a" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void ble_stack_init </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>BLE stack initialization. </p>
<p>Initializes the SoftDevice and the BLE event interrupt. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00781">781</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga1b3a805592966451c4dff7cee63c6378"></a><!-- doxytag: member="main.c::mouse_movement_send" ref="ga1b3a805592966451c4dff7cee63c6378" args="(int16_t x_delta, int16_t y_delta)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void mouse_movement_send </td>
          <td>(</td>
          <td class="paramtype">int16_t&#160;</td>
          <td class="paramname"><em>x_delta</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int16_t&#160;</td>
          <td class="paramname"><em>y_delta</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Function to send Mouse Movement. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">x_delta</td><td>Horizontal movement. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y_delta</td><td>Vertical movement. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00796">796</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="gaa3977e6f27ec95f12d2f060ef920a29d"></a><!-- doxytag: member="main.c::mouse_event_handler" ref="gaa3977e6f27ec95f12d2f060ef920a29d" args="(app_sched_event_data_t *p_ev_data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void mouse_event_handler </td>
          <td>(</td>
          <td class="paramtype">app_sched_event_data_t *&#160;</td>
          <td class="paramname"><em>p_ev_data</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Mouse event handler. </p>
<p>This function is called from the scheduler in the main loop after a mouse event has been received.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">p_ev_data</td><td>Scheduler event containing a mouse event. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00853">853</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga6d0508a032b45031ee39fc3155944d7e"></a><!-- doxytag: member="main.c::mouse_event_schedule" ref="ga6d0508a032b45031ee39fc3155944d7e" args="(int16_t x_delta, int16_t y_delta)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void mouse_event_schedule </td>
          <td>(</td>
          <td class="paramtype">int16_t&#160;</td>
          <td class="paramname"><em>x_delta</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int16_t&#160;</td>
          <td class="paramname"><em>y_delta</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Passes a mouse event to the Scheduler. </p>
<p>Will be called from the GPIOTE interrupt handler when a push button event has been detected.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">x_delta</td><td>Horizontal movement. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y_delta</td><td>Vertical movement. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00868">868</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<hr/><h2>Variable Documentation</h2>
<a class="anchor" id="ga39dca3cc11120abf5cbc751bb69d5df0"></a><!-- doxytag: member="main.c::s_hids" ref="ga39dca3cc11120abf5cbc751bb69d5df0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__ble__sdk__srv__hids.html#ga7038aff3f095043b34e0a1403dd4ebcc">ble_hids_t</a> <a class="el" href="group__ble__sdk__app__hids__mouse__main.html#ga39dca3cc11120abf5cbc751bb69d5df0">s_hids</a><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Structure used to identify the HID service. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00102">102</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="gab22f840926bbada5a0ba32f2f7dc94b3"></a><!-- doxytag: member="main.c::s_bas" ref="gab22f840926bbada5a0ba32f2f7dc94b3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__ble__sdk__srv__bas.html#gaea81f98230816bcfcbfd6ccbb4db3999">ble_bas_t</a> <a class="el" href="group__ble__sdk__app__hrs__eval__main.html#gab22f840926bbada5a0ba32f2f7dc94b3">s_bas</a><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Structure used to identify the battery service. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00103">103</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="ga738ed84e141ba1059dd1318dc425343c"></a><!-- doxytag: member="main.c::s_sec_params" ref="ga738ed84e141ba1059dd1318dc425343c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structble__gap__sec__params__t.html">ble_gap_sec_params_t</a> <a class="el" href="group__ble__sdk__app__hrs__eval__main.html#ga738ed84e141ba1059dd1318dc425343c">s_sec_params</a><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Security requirements for this application. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00104">104</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="gade286b62fde8822965f1e5740a2e9544"></a><!-- doxytag: member="main.c::s_in_boot_mode" ref="gade286b62fde8822965f1e5740a2e9544" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="group__ble__sdk__app__hids__mouse__main.html#gade286b62fde8822965f1e5740a2e9544">s_in_boot_mode</a> = false<code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Current protocol mode. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00105">105</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="gaa752585d9b405d6e0c6fd392d7f64b59"></a><!-- doxytag: member="main.c::s_battery_sim_cfg" ref="gaa752585d9b405d6e0c6fd392d7f64b59" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structble__sensorsim__cfg__t.html">ble_sensorsim_cfg_t</a> <a class="el" href="group__ble__sdk__app__proximity__main.html#gaa752585d9b405d6e0c6fd392d7f64b59">s_battery_sim_cfg</a><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Battery Level sensor simulator configuration. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00107">107</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
<a class="anchor" id="gaa51f5fc284e1b7e1570ab742fa9b63f3"></a><!-- doxytag: member="main.c::s_battery_sim_state" ref="gaa51f5fc284e1b7e1570ab742fa9b63f3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structble__sensorsim__state__t.html">ble_sensorsim_state_t</a> <a class="el" href="group__ble__sdk__app__proximity__main.html#gaa51f5fc284e1b7e1570ab742fa9b63f3">s_battery_sim_state</a><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Battery Level sensor simulator state. </p>

<p>Definition at line <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html#l00108">108</a> of file <a class="el" href="nrf6310__nrf2752_2ble_2ble__app__hids__mouse_2main_8c_source.html">main.c</a>.</p>

</div>
</div>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">
      Copyright &copy 2006-2011 <a href="http://www.nordicsemi.no" style="text-decoration:none">Nordic Semiconductor</a>.
      All Rights Reserved.
      <a href="disclaimer.html">Disclaimer</a>
    </li>
   </ul>
 </div>


</body>
</html>
